<!--
  描述：后端产品分类-故障图片列表页
  @author yangshuangping
  @since 2021/11/18 18:37
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss">
    <title>后端产品分类-故障图片列表</title>
</head>
<body>

<div class="layui-fluid">
    <blockquote class="layui-crumb">
        后台产品>产品分类>
        <a lay-href="/serv/categ/ass/list.action">分类关联</a>>
        <a th:href="|/category/faultimage/list.action?groupId=${servAssCategory.groupId}|">故障图片</a>
    </blockquote>
    <div class="layui-card">

        <div th:replace="servasscategory/_tab :: tab"></div>

        <div class="layui-split">&nbsp;</div>

        <div class="layui-card-body">
            <div th:replace="servasscategory/faultimage/_table::table"/>
            <script type="text/html" id="zmn-table-tool">
                <div class="layui-btn-container">
                    <div class="layui-btn-group">
                        <zmn>
                            <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="del">删除</button>
                        </zmn>
                    </div>
                    <div class="layui-btn-group">
                        <zmn>
                            <a href="#" th:onclick="|toAddFaultImage([[${vo.groupId}]],'')|"
                               class="layui-btn layui-btn-sm layui-btn-primary"
                               lay-text="新增" text="新增">+新增</a>
                        </zmn>
                    </div>
                </div>
            </script>
        </div>

    </div>
</div>

<script type="text/javascript" th:inline="javascript">

    var json = {
        totalCount: [[${vo.totalCount}]],
        pageSize: [[${vo.pageSize}]],
        pageIndex: [[${vo.pageIndex}]],
        items: [[${items}]]
    };

    layui.config({
        version: 202101117132110,
        base: "/static/lay/"
    }).extend({
        index: "lib/index",
        category_faultimage_list: "servcategory/faultimage/zmn.category.faultimage.list",
    }).use(['index', 'category_faultimage_list']);

</script>
</body>
</html>